/**
 * 小程序配置文件
 */
// 此处主机域名是腾讯云解决方案分配的域名
// 小程序后台服务解决方案：https://www.qcloud.com/solution/la

var http = "https"
var host = "app.longchg.com/gudongcar"
var host = "app.longchg.com/gdcar"
// var http = "http"
// var host = "192.168.0.104:8080/gudongcar/"
// var host = "192.168.0.107:8080/gdcar/"
var config = {
  // 下面的地址配合云端 Server 工作
  http,
  host,
  // 获取openIdopenID
  CheckOpenId: `${http}://${host}/App/WxLogin.action`,
  // 修改密码
  changePwdUrl: `${http}://${host}/App/changePwd.action`,
  // 获取verifyCode
  getVerifyCode: `${http}://${host}/App/verifyCode.action`,
  // 登录地址，用于建立会话
  loginUrl: `${http}://${host}/App/loginUser.action`,
  // 测试的请求地址，用于测试会话
  // 登录地址，用于建立会话
  getUserInfo: `${http}://${host}/App/getUserInfo.action`,
  getUserInfoById: `${http}://${host}/App/getUserInfoById.action`,
  autoLogin: `${http}://${host}/App/AutoLogin.action`,
  // loginOut
  loginOut: `${http}://${host}/App/loginOut.action`,
  // getMaindata
  getMaindata: `${http}://${host}/App/getUserBalance.action`,
  //getUserIncomeById
  getUserIncomeById: `${http}://${host}/App/getUserIncomeById.action`,
  //getUserPayById
  getUserPayById: `${http}://${host}/App/getUserPayById.action`,
  // getUserProfitById
  getUserProfitById: `${http}://${host}/App/getUserProfitById.action`,
  //获取列表信息
  // page=0size=10
  getUserIncomList: `${http}://${host}/App/getUserIncomList.action`,
  // getUserPayOutList
  getUserPayOutList: `${http}://${host}/App/getUserPayOutList.action`,
  // page=0size=10 type  null/-1:全部收益列表；0：余额收益；1余额提现
  getUserProIncomeList: `${http}://${host}/App/getUserProIncomeList.action`,


  // 生成支付订单的接口  money=233333
  OrderToDrawIncome: `${http}://${host}/App/OrderToDrawIncome.action`,
  // 生成支付订单的接口
  OrderToDrawProfit: `${http}://${host}/App/OrderToDrawProfit.action`,

  //通知模块

  // 获取通知
  getUserNoticeList: `${http}://${host}/App/getUserNoticeList.action`,
  // 获取用户通知列表 
  getUserUnReadNoticeList: `${http}://${host}/App/getUserUnReadNoticeList.action`,
  // 获取通知
  getUserNoticeById: `${http}://${host}/App/getUserNoticeById.action`,
  // updateNoticeReadById
  updateNoticeReadById: `${http}://${host}/App/updateNoticeReadById.action`,


  // 发送模板消息接口
  templateMessageUrl: `https://${host}/templateMessage`,

  // 上传文件接口
  uploadFileUrl: `https://${host}/upload`,

  // 下载示例图片接口
  downloadExampleUrl: `https://${host}/static/weapp.jpg`,



  //-----------------------------------------订单板块---------------------------------//

  // 订单列表接口
  orderListUrl: `${http}://${host}/App/orderList.action`,
  // 订单详情接口
  orderDetailUrl: `${http}://${host}/App/orderDetail.action`,
  // 订单确认接口
  orderConfirmUrl: `${http}://${host}/App/orderConfirm.action`,
  //接受修改
  orderReConfirm: `${http}://${host}/App/orderReConfirm.action`,
  // 订单取消接口
  orderCancelUrl: `${http}://${host}/App/orderCancel.action`,
  // 订单评价接口
  orderCommentUrl: `${http}://${host}/App/orderComment.action`,
  // 订单评价列表接口
  commentListUrl: `${http}://${host}/App/commentList.action`,
  // 订单状态追踪接口
  orderTraceUrl: `${http}://${host}/App//orderTrace.action`,
  //未支付订单
  orderNoPay: `${http}://${host}/App//orderNoPay.action`,



  //登录
  loginUrl: `${http}://${host}/App/loginUser.action`,
  //是否登录
  isLogin: `${http}://${host}/App/isLoginUser.action`,
  //注册
  registerUrl: `${http}://${host}/App/registerUser.action`,
  //首页数据
  mainInfo: `${http}://${host}/App/mainInfo.action`,
  //自动登录
  autoLogin: `${http}://${host}/App/AutoLogin.action`,
  //汽车品牌列表
  carBrandList: `${http}://${host}/App/carBrandList.action`,
  //车辆类型列表
  carCategoryList: `${http}://${host}/App/carCategoryList.action`,
  //汽车型号列表
  carSubBrandList: `${http}://${host}/App/carSubBrandList.action`,
  //添加车辆
  addCar: `${http}://${host}/App/addCar.action`,
  //上传图片
  uploadPic: `${http}://${host}/App/uploadPic.action`,
  //专属管家
  myHouseKepper: `${http}://${host}/App/myHouseKepper.action`,
  //订单助手消息列表
  getUserNoticeList: `${http}://${host}/App/getUserNoticeList.action`,
  //管家列表
  houseKepperList: `${http}://${host}/App/houseKepperList.action`,
  //车辆列表
  myCarsList: `${http}://${host}/App/myCarsList.action`,
  //删除车辆
  carDelete: `${http}://${host}/App/carDelete.action`,
  //违章查询
  carIllegalQuery: `${http}://${host}/App/carIllegalQuery.action`,
  //意见反馈
  feedBack: `${http}://${host}/App/feedBack.action`,
  //普通车辆违章查询
  carIllegalUserQuery: `${http}://${host}/App/carIllegalUserQuery.action`,
  //用户协议
  agreemenDetail: `${http}://${host}/App/agreemenDetail.action`,
  //头像上传
  changeUserInfo: `${http}://${host}/App/changeUserInfo.action`,
  //姓名修改
  changeUserName: `${http}://${host}/App/changeUserName.action`,
  //性别修改
  changeUserGender: `${http}://${host}/App/changeUserGender.action`,
  //生日修改
  changeUserBirth: `${http}://${host}/App/changeUserBirth.action`,
  //身份证号修改
  changeUserIdentiyCardNo: `${http}://${host}/App/changeUserIdentiyCardNo.action`,
  //更换默认车管家
  changeMyHouseKepper: `${http}://${host}/App/changeMyHouseKepper.action`,
  //订单评价
  orderComment: `${http}://${host}/App/orderComment.action`,
  //车辆详情
  carDetail: `${http}://${host}/App/carDetail.action`,


  //9大服务
  //保险公司
  insuranceItems: `${http}://${host}/App/insuranceItems.action`,
  insuranceComList: `${http}://${host}/App/insuranceComList.action`,
  stepCarInfo: `${http}://${host}/App/stepCarInfo.action`,
  insuranceSubbmit: `${http}://${host}/App/insuranceSubbmit.action`,
  stepServiceTypeList: `${http}://${host}/App/stepServiceTypeList.action`,
  accidentAssistSubbmit: `${http}://${host}/App/accidentAssistSubbmit.action`,
  stepCarInfo: `${http}://${host}/App/stepCarInfo.action`,
  repairSubbmit: `${http}://${host}/App/repairSubbmit.action`,
  airportSubbmit: `${http}://${host}/App/airportSubbmit.action`,
  terminalList: `${http}://${host}/App/terminalList.action`,
  stepSubbmit: `${http}://${host}/App/stepSubbmit.action`,
  yearSubbmit: `${http}://${host}/App/yearSubbmit.action`,
  yearAuditInfo: `${http}://${host}/App/yearAuditInfo.action`,
  maintenanceSubbmit: `${http}://${host}/App/maintenanceSubbmit.action`,
  carIllegalSubbmit: `${http}://${host}/App/carIllegalSubbmit.action`,
  repairItemsList: `${http}://${host}/App/repairItemsList.action`,
  repairSubbmit: `${http}://${host}/App/repairSubbmit.action`,
  maintenanceItems: `${http}://${host}/App/maintenanceItems.action`,
  accidentAssistCall: `${http}://${host}/App/accidentAssistCall.action`,
  airportCarLocList: `${http}://${host}/App/airportCarLocList.action`,



  //管家端
  ordersGJList: `${http}://${host}/App/ordersGJList.action`, //订单列表
  userCarList: `${http}://${host}/App/userCarList.action`, //订单列表
  commentList: `${http}://${host}/App/commentList.action`, //用户评价列表
  replyComment: `${http}://${host}/App/replyComment.action`, //回复用户评论
  replyUserComment: `${http}://${host}/App/replyUserComment.action`, //回复用户评论
  customList: `${http}://${host}/App/customList.action`, //订单列表
  customList: `${http}://${host}/App/customList.action`, //订单列表
  userCarList: `${http}://${host}/App/userCarList.action`, //订单列表
  stepCarLocList: `${http}://${host}/App/stepCarLocList.action`, //订单列表
  defaultCar: `${http}://${host}/App/defaultCar.action`, //设置默认车辆
  orderConfirm: `${http}://${host}/App/orderConfirm.action`, //管家接单
  orderTraceList: `${http}://${host}/App/orderTraceList.action`, //订单追踪
  changeOrderStatus: `${http}://${host}/App/changeOrderStatus.action`, //订单追踪
  orderComplete: `${http}://${host}/App/orderComplete.action`, //完成订单
  chatMessageList: `${http}://${host}/App/chatMessageList.action`, //聊天记录
  chatOffLineMessageList: `${http}://${host}/App/chatOffLineMessageList.action`, //离线信息
  userChatMessageList: `${http}://${host}/App/userChatMessageList.action`, //聊天记录

  //支付
  orderPay: `${http}://${host}/App/WxPayParam.action`,
  orderPayResult: `${http}://${host}/App/WxPayResult.action`,
  ordePayMember: `${http}://${host}/App/WxPayMenber.action`,
  ordePayOrder: `${http}://${host}/App/WxPayOrder.action`,
  //会员
  bindCard: `${http}://${host}/App/bindCardNo.action`,
  bindPayCard: `${http}://${host}/App/bindPayCardNo.action`,
  getMemberRightList: `${http}://${host}/App/getMemberRightList.action`,
  getMemberRightByCardList: `${http}://${host}/App/getMemberRightByCardList.action`,
  getUserScoreList: `${http}://${host}/App/getUserScoreList.action`,
  getPayItemList: `${http}://${host}/App/getPayItemList.action`,
  getOrderPayItemList: `${http}://${host}/App/getOrderPayItemList.action`,
  generatePriceList: `${http}://${host}/App/generatePriceList.action`,
  getCouponList: `${http}://${host}/App/getCouponList.action`,
  orderPayConfirm: `${http}://${host}/App/orderPayConfirm.action`,

  //菇咚分期还款查询
  loanCalculate: `${http}://${host}/App/loanCalculate.action`,

  //设置订单起始位置和终止位置
  changeOrderLocation: `${http}://${host}/App/changeOrderLocation.action`,
  //获取默认管家
  defaultKeeperAccount: `${http}://${host}/App/defaultKeeperAccount.action`,
  feeItems: `${http}://${host}/App/feeItems.action`,
  //系统信息
  getSystemInfo: `${http}://${host}/App/getSystemInfo.action`,
  //获取路径
  getPoyline: `${http}://${host}/App/getPoyline.action`,
  //上传路径
  uploadPoyline: `${http}://${host}/App/uploadPoyline.action`,

  //获取当前会员卡类型
  getCurrentMemberCardList: `${http}://${host}/App/getCurrentMemberCardList.action`,
  tab1: [{
      "name": "全部订单",
      "index": "0",
      "color": "color-black"

    },
    {
      "name": "正在预约",
      "index": "1",
      "color": "color-black"
    },
    {
      "name": "正在服务",
      "index": "2",
      "color": "color-black"
    },
    {
      "name": "已完成",
      "index": "3",
      "color": "color-black"
    }
  ],
  tab2: [
    {
      "name": "全部订单",
      "index": "0",
      "color": "color-black"
    },
    {
      "name": "待付款",
      "index": "7",
      "color": "color-red"
    }
    ,
    {
      "name": "正在预约",
      "index": "1",
      "color": "color-black"
    },
    {
      "name": "正在服务",
      "index": "2",
      "color": "color-black"
    },
    {
      "name": "已完成",
      "index": "3",
      "color": "color-black"
    }
  ],
  tab3: [{
      "name": "全部订单",
      "index": "0",
      "color": "color-black"
    }, {
      "name": "待付款",
      "index": "7",
      "color": "color-red"
    }, 
    {
      "name": "正在预约",
      "index": "1",
      "color": "color-black"
    },
    {
      "name": "正在服务",
      "index": "2",
      "color": "color-black"
    },
    {
      "name": "已完成",
      "index": "3",
      "color": "color-black"
    }
  ]




};

module.exports = config